package com.xqboss.apps.domain.synthesis;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;

import com.xqboss.apps.domain.BaseTable;
import com.xqboss.apps.enums.synthesis.SynthesisTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 合成方案-消耗
 * </p>
 *
 * @author 木鱼
 * @since 2023-11-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="SynthesisPlanConsume对象", description="合成方案-消耗")
public class SynthesisPlanConsume extends BaseTable implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "方案id")
    private Long planId;

    @ApiModelProperty(value = "分组id")
    private Long groupId;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "图片")
    private String imgUrl;

    @ApiModelProperty(value = "材料类型[1藏品，2装备，3箱子，4热豆]")
    private SynthesisTypeEnum type;

    @ApiModelProperty(value = "关联id")
    private Long thirdId;

    @ApiModelProperty(value = "所需数量")
    private Integer num;

    @Deprecated
    @ApiModelProperty(value = "耐久阈值")
    private BigDecimal durableThreshold;

    @Deprecated
    @ApiModelProperty(value = "破损阈值")
    private BigDecimal breakageThreshold;

    @Deprecated
    @ApiModelProperty(value = "等级阈值")
    private Integer levelThreshold;

    @ApiModelProperty(value = "最小耐久值")
    private BigDecimal minDurable;

    @ApiModelProperty(value = "最大耐久值")
    private BigDecimal maxDurable;

    @ApiModelProperty(value = "最小破损值")
    private BigDecimal minBreakage;

    @ApiModelProperty(value = "最大破损值")
    private BigDecimal maxBreakage;

    @ApiModelProperty(value = "最小等级值")
    private Integer minLevel;

    @ApiModelProperty(value = "最大等级值")
    private Integer maxLevel;

}
